﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddTasks.aspx.cs" Inherits="Actuals.AddTasks" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id = "Head1" runat="server">
 <base target="_self" />
  
    <title>Add Tasks</title>

    
    <link href ="~/Actuals.css" rel ="Stylesheet" type ="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <center>
    <div id="divAddTasks" runat ="server" >
    <asp:Label runat ="server" ID="lblMsg" CssClass ="message"></asp:Label>
    <table>
    <tr>
        <td><asp:Label ID="lblProject" runat ="server" CssClass ="label">Project</asp:Label>
        </td>
        <td align ="left"><asp:DropDownList ID="ddlProject" runat ="server" CssClass="textfield " AutoPostBack ="true" OnSelectedIndexChanged ="ddlProject_OnSelectedIndexChanged" ></asp:DropDownList></td>
    </tr>
     <tr>
        <td><asp:Label ID="lblRelease" runat ="server" CssClass ="label">Release</asp:Label>
        </td>
       <td align="left" ><asp:DropDownList ID="ddlRelease" runat ="server" CssClass="textfield " ></asp:DropDownList></td>
    </tr>
     <tr>
        <td><asp:Label ID="lblTaskType" runat ="server" CssClass ="label">TaskType</asp:Label>
        </td>
        <td align ="left" ><asp:DropDownList ID="ddlTaskType" runat ="server" CssClass="textfield ">
        <asp:ListItem Value ="tech">Tech</asp:ListItem>
        <asp:ListItem Value= "func">Func</asp:ListItem>
        <asp:ListItem Value ="other">Other</asp:ListItem>
        </asp:DropDownList></td>
    </tr>
     <tr>
        <td><asp:Label ID="TaskShortName" runat ="server" CssClass ="label">TaskShortName</asp:Label>
        </td>
        <td align="left" ><asp:TextBox ID="txtTaskShortName" runat ="server" Rows ="10" Columns ="50" TextMode ="MultiLine"  CssClass="textfield">
        </asp:TextBox>

        </td>
    </tr>
     <tr>
        <td><asp:Label ID="lblDescription" runat ="server" CssClass ="label">Description</asp:Label>
        </td>
        <td align="left" ><asp:TextBox ID="txtDescription" runat="server" Rows ="10" Columns ="50" TextMode ="MultiLine" CssClass ="textfield"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td><asp:Label ID="Label1" runat ="server" CssClass ="label">Priority</asp:Label>
        </td>
        <td align="left" >
            <asp:DropDownList ID="ddlPriority" runat="server">
                <asp:ListItem Value="1">1</asp:ListItem>                
                <asp:ListItem Value="2">2</asp:ListItem>
                <asp:ListItem Value="3">3</asp:ListItem>
                <asp:ListItem Value="4">4</asp:ListItem>
                <asp:ListItem Value="5">5</asp:ListItem>
                <asp:ListItem Value="6">6</asp:ListItem>
                <asp:ListItem Value="7">7</asp:ListItem>
                <asp:ListItem Value="8">8</asp:ListItem>
                <asp:ListItem Value="9">9</asp:ListItem>
                <asp:ListItem Value="10">10</asp:ListItem>
                <asp:ListItem Value="11">11</asp:ListItem>
                <asp:ListItem Value="12">12</asp:ListItem>
                <asp:ListItem Value="13">13</asp:ListItem>
                <asp:ListItem Value="14">14</asp:ListItem>
                <asp:ListItem Value="15">15</asp:ListItem>


            </asp:DropDownList>
        </td>
    </tr>
     <tr>
        <td><asp:Label ID="lblStatus" runat ="server" CssClass ="label">Status</asp:Label>
        </td>
        <td align ="left"><asp:DropDownList ID= "ddlStatus" runat ="server" CssClass="textfield "></asp:DropDownList></td>
    </tr>
     <tr>
        <td><asp:Label ID="lblInitialEstimation" runat ="server" CssClass ="label">Initial Estimation</asp:Label>
        </td>
        <td align="left" ><asp:TextBox ID="txtInitialEstimation" runat ="server" CssClass="textfield "></asp:TextBox>
        </td>
    </tr>

     <tr>
        <td><asp:Label ID="lblCurrentEstimation" runat ="server" CssClass ="label">Current Estimation</asp:Label>
        </td>
        <td align ="left">
        <asp:TextBox ID="txtCurrentEstimation" runat ="server" CssClass ="textfield"></asp:TextBox> </td>
    </tr>
        
    <tr>
                    <td colspan="2">
                        <asp:Button ID="btnSave"  Text="Save"  runat="server" OnClick ="btnSave_Click">
                            </asp:Button>
                        <input type="button" value="Close" onclick="window.close();" />
                    </td>
                </tr>
    </table>
    </div> 
    </center>
    
   <asp:HiddenField ID ="hidTaskId" runat ="server" />
    </form>
</body>
</html>

